% Remember to use the lgrind style

\Head{}
\File{./java/EdgeItem.java}{2006}{4}{27}{19:09}{752}
\L{\LB{\C{}/*}}
\L{\LB{_*_EdgeItem.java}}
\L{\LB{_*}}
\L{\LB{_*_Created_on_December_12,_2005,_5:04_PM}}
\L{\LB{_*/\CE{}}}
\L{\LB{}}
\L{\LB{\K{package}_\V{project01};}}
\L{\LB{}}
\L{\LB{}}
\L{\LB{\K{import}_\V{javax}.\V{swing}.*;}}
\L{\LB{\K{import}_\V{javax}.\V{swing}.\V{event}.*;}}
\L{\LB{\K{import}_\V{java}.\V{awt}.*;}}
\L{\LB{\K{import}_\V{java}.\V{awt}.\V{event}.*;}}
\L{\LB{\K{import}_\V{java}.\V{io}.\V{Serializable};}}
\L{\LB{}}
\L{\LB{}}
\L{\LB{\C{}/**}}
\L{\LB{_*_Describes_an_edge_on_a_map._}}
\L{\LB{_*}}
\L{\LB{_*_\CE{}\V{author}_\V{Ian}_\V{Melnick}}}
\L{\LB{\C{}*/\CE{}}}
\L{\LB{\K{public}_\K{class}_\V{EdgeItem}_\K{extends}_\V{MapItem}_\K{implements}_\V{Serializable}_\{}}
\L{\LB{}\Tab{4}{\K{private}_\K{int}_\V{distance};}\Tab{32}{\C{}//_distance_in_\3paces\3\CE{}}}
\L{\LB{}\Tab{4}{}}
\L{\LB{}\Tab{4}{\C{}/**_Creates_a_new_instance_of_EdgeItem_*/\CE{}}}
\index{EdgeItem}\Proc{EdgeItem}\L{\LB{}\Tab{4}{\K{public}_\V{EdgeItem}(\V{String}_\V{map},_\K{int}_\V{id})_\{}}
\L{\LB{}\Tab{8}{\K{this}.\V{map}}\Tab{24}{=_\V{map};}}
\L{\LB{}\Tab{8}{\K{this}.\V{id}}\Tab{24}{=_\V{id};}}
\L{\LB{}\Tab{8}{\K{this}.\V{distance}}\Tab{24}{=_\N{0};}}
\L{\LB{}\Tab{4}{\}}}
\L{\LB{}\Tab{4}{}}
\index{getDistance}\Proc{getDistance}\L{\LB{}\Tab{4}{\K{public}_\K{int}_\V{getDistance}()}\Tab{40}{\{_\K{return}_\K{this}.\V{distance};}\Tab{76}{\}}}
\index{setDistance}\Proc{setDistance}\L{\LB{}\Tab{4}{\K{public}_\K{void}_\V{setDistance}(\K{int}_\V{paces})}\Tab{40}{\{_\K{this}.\V{distance}_=_\V{paces};}\Tab{76}{\}}}
\L{\LB{\}}}
